package com.wanghaixin.service;

import com.wanghaixin.dto.DataGridResult;
import com.wanghaixin.dto.QueryDTO;
import com.wanghaixin.pojo.CarManufacturer;
import com.wanghaixin.utils.R;

/**
 * @Auther: 王海新
 * @Date: 2020/11/2 11:56
 * @Description: 厂商管理服务层
 */
public interface CarmanuFacturerService {
    /*********************************************************************************************************************
     * @Author:  王海新
     * @Date:  11:57  2020/11/2
     * @Version:  1.0.0
     * @Description: 增
     */
    public int addCarmanuFacturer(CarManufacturer carManufacturer);

    /*********************************************************************************************************************
     * @Author:  王海新
     * @Date:  11:57  2020/11/2
     * @Version:  1.0.0
     * @Description: 删
     */
    public int delCarmanuFacturer(Integer id);

    /*********************************************************************************************************************
     * @Author:  王海新
     * @Date:  11:57  2020/11/2
     * @Version:  1.0.0
     * @Description: 改
     */
    public int upCarmanuFacturer(CarManufacturer carManufacturer);

    /*********************************************************************************************************************
     * @Author:  王海新
     * @Date:  11:57  2020/11/2
     * @Version:  1.0.0
     * @Description: 根据id查
     */
    public CarManufacturer findById(Integer id);

    /*********************************************************************************************************************
     * @Author:  王海新
     * @Date:  11:57  2020/11/2
     * @Version:  1.0.0
     * @Description: 分页查询
     */
    public DataGridResult findByPage(QueryDTO queryDTO);

}
